package models

import (
	"gorm.io/gorm"
	"time"
)

type Zbjs struct {
	HouseId   uint           `gorm:"column:house_id;type:bigint(11);primaryKey;not null;" json:"house_id"`
	Context   string         `gorm:"column:context;type:varchar(200);not null;" json:"context"`
	Person    uint           `gorm:"column:person;type:bigint(200);not null;" json:"person"`
	Img       string         `gorm:"column:img;type:varchar(200);not null;" json:"img"`
	Message   uint           `gorm:"column:message;type:bigint(20);not null;" json:"message"`
	Status    uint           `gorm:"column:status;type:bigint(22);not null;" json:"status"`
	CreatedAt time.Time      `gorm:"column:created_at;type:datetime(3);not null;default:CURRENT_TIMESTAMP(3);" json:"created_at"`
	DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime(3);default:NULL;" json:"deleted_at"`
	UpdatedAt time.Time      `gorm:"column:updated_at;type:datetime(3);not null;default:CURRENT_TIMESTAMP(3);" json:"updated_at"`
}
